<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>QAQ</title>
    <style>
        #hello{
            background-color: skyblue;
            position: absolute;
            top: 30px;
            left: 40px;
            width: 200px;
            border-radius: 10px;
            padding: 0 3px;
            z-index: 9;
        }
        #over{
            width: 100%;
            height: 40px;
            position: absolute;
            bottom: 0;
            background-color: skyblue;
            z-index:99;
        }
    </style>
    <!-- <script type="text/javascript" charset="utf-8"  src="https://files.cnblogs.com/files/liuzhou1/L2Dwidget.0.min.js"></script> -->
    <script type="text/javascript" charset="utf-8"  src="https://files.cnblogs.com/files/liuzhou1/L2Dwidget.min.js"></script>
    <script type="text/javascript">
        L2Dwidget.init({"display": {
            "superSample": 2,
            "width": 400,
            "height": 800,
                 "position": "center",
                     "hOffset": 0,
            "vOffset": 0
              }
         });
         
    </script>
    <script>
        window.onload = function(){
            var arr = ["错了呀,我知道你在忙才看到,某人跟我说皮一点会让别人心情变好,我信了个鬼TAT","不要对憨憨生气呀","是我多想了,有个姐姐分析说你可能有点不自信嘛,我不想你你这样,就多想了","不该把别人对我的做法转移到可爱的小羊身上TAT"]
            var aaa = document.getElementById('aaa');
            var btn = document.getElementById('hello')
            var over = document.getElementById('over')
            aaa.onclick =  function(){
                console.log(Math.floor(1+Math.random()*4));
                btn.innerHTML=arr[Math.floor(Math.random()*3)]
            }
            over.onclick =  function(){
                btn.innerHTML="別烦了呀,这么可爱的人不能被我这个憨憨烦"
            }
        }
    </script>
</head>
<body id="aaa">
    <div id="hello">
        这么可爱的你来啦!
    </div>
    <div id="over">

    </div>
</body>
</html>